--- @param extension Package
--- @param HY HY_Utility
--- @param U Utility
return function(extension, HY, U)
    local doubleSwords_new = fk.CreateCard {
        name = "double_swords_new",
        type = Card.TypeEquip,
        sub_type = Card.SubtypeWeapon,
        attack_range = 2,
        equip_skill = "#double_swords_skill_new",
    }
    local doubleSwordsSkill_new = fk.CreateSkill {
        name = "#double_swords_skill_new",
        attached_equip = "double_swords_new",
    }
    doubleSwordsSkill_new:addEffect(fk.TargetSpecified, {
        can_trigger = function(self, event, target, player, data)
            return target == player and player:hasSkill(doubleSwordsSkill_new.name) and
                data.card and data.card.trueName == "slash" and
                data.to.kingdom ~= player.kingdom
        end,
        on_use = function(self, event, target, player, data)
            local room = player.room
            room:broadcastPlaySound("./packages/touhou_hy/audio/card/double_swords_new")
            room:setEmotion(player, "./packages/touhou_hy/image/anim/double_swords_new")
            local result = room:askToDiscard(data.to, {
                min_num = 1,
                max_num = 1,
                skill_name = doubleSwordsSkill_new.name
            })
            if #result == 0 then
                player:drawCards(1, doubleSwordsSkill_new.name)
            end
        end,
    })
    extension:loadSkillSkels { doubleSwordsSkill_new }
    extension:loadCardSkels { doubleSwords_new }
    extension:addCardSpec("double_swords_new", Card.Spade, 2)
    Fk:loadTranslationTable {
        ["double_swords_new"] = "三分双股剑",
        [":double_swords_new"] = "装备牌·武器<br /><b>攻击范围</b>：２<br /><b>武器技能</b>：每当你指定与你不同势力的角色为【杀】的目标后，你可以令其选择一项：弃置一张手牌，或令你摸一张牌。",
        ["#double_swords_skill_new"] = "三分双股剑",
    }
end
